package com.bw.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class HelloController {

    @RequestMapping("/hi")
    public Map<String,Object> hello() {
        Map<String,Object> map = new HashMap<String,Object>();
        map.put("hello","world");
        return map;
    }

     @RequestMapping("/his")
    public Map<String,Object> hellos() {
        Map<String,Object> map = new HashMap<String,Object>();
        map.put("hello","world");
        return map;
    }

    @RequestMapping("/hix")
    public Map<String,Object> hellox() {
        Map<String,Object> map = new HashMap<String,Object>();
        map.put("hello","world");
        return map;
    }


    @RequestMapping("/hiy")
    public Map<String,Object> helloy() {
        Map<String,Object> map = new HashMap<String,Object>();
        map.put("hello","world");
        return map;
    }


}
